import request from '@/request'


export function getTags () {
    return request({
      url:'tag',
      method:'get'
    })
}

export function createTag(data){
  return request({

    url:'tag',
    method:'post',
    data
  })
}

export function addTagsArticle(data){
  return request({

    url:'tag/article',
    method:'post',
    data
  })

}

